<template>
	<!-- 每行两列 -->
	<div class="fix-box fix-box-twoCol">
		<div class='imgset-twoCol' :class="padding ? 'openpadding' : ''">
			<div class="imgset-twoCol-li">
				<a class="twoCol-a">
					<div v-if="!twoColArr[0]" ></div>
					<div v-else :style="(twoColArr[0].url ? {backgroundImage: 'url(' + twoColArr[0].url + ')'} : '')"></div>
				</a>
			</div> 
			<div class="imgset-twoCol-li-padding" :style="{width: gap+'px'}"></div>
			<div class="imgset-twoCol-li">
				<a class="twoCol-a">
					<div v-if="!twoColArr[1]" ></div>
					<div v-else :style="(twoColArr[1].url ? {backgroundImage: 'url(' + twoColArr[1].url + ')'} : '')"></div>
				</a>
			</div> 
		</div>
	</div>
</template>

<script>
export default {
	data(){
		return {}
	},
	props:{
		twoColArr: Array,
		gap: Number,
		padding: Boolean,
	},
	methods:{},
}
</script>
<style lang="less" scoped>
@import "../../../../../static/css/style.less";
@import "../../../../../static/css/element.less";
@import "../../../../../static/css/imgStyle.less";
</style>

